#ifndef __RTC_H_
#define __RTC_H_

#include <stm32f4xx.h>
#include <stddef.h>
void rtc_init (void);
void rtc_alarm_init (void);

void rtc_get_time_string(char* time_str, uint16_t buf_size);
void rtc_get_date(uint16_t* year, uint8_t* month, uint8_t* day);

#endif 

